package com.upcode.weighing.vo.req.pc;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassNameEtcMarketingReportReq
 * @Description
 * @Author  jianxun
 * @Date2019/7/8 11:40
 * @Version V1.0
 **/
public class EtcMarketingReportReqVo implements Serializable {
    /**
     * 车辆编号
     */
    private  String id;

    /**营销渠道编号 */
    private  Byte channel ;

     /**营销渠道编号 */
    private  String channelStr ;

    /**支付渠道编号 */
    private  String payChannel ;

    /**营销渠道编号 */
    private  String payChannelStr ;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    /**营销人员编码*/
    private String userCode;

    /**营销人员编码*/
    private String ids;

    /**
     * 激活起始时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startInstallTime;

    /**
     * 激活结束时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endInstallTime;

    /**
     * 安装方式
     */
    private Integer installType;

    /**
     * 机构编码
     */
    private String orgCode;

    /**
     * 营销机构编码集合
     */
    private List<String> marketOrgCodeList;

    public List<String> getMarketOrgCodeList() {
        return marketOrgCodeList;
    }

    public void setMarketOrgCodeList(List<String> marketOrgCodeList) {
        this.marketOrgCodeList = marketOrgCodeList;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public Integer getInstallType() { return installType;  }

    public void setInstallType(Integer installType) { this.installType = installType;  }


    public String getId() {return id;}

    public void setId(String id) {this.id = id; }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public Byte getChannel() {
        return channel;
    }

    public void setChannel(Byte channel) {
        this.channel = channel;
    }

    public LocalDateTime getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(LocalDateTime beginTime) {
        this.beginTime = beginTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getChannelStr() {
        return channelStr;
    }

    public void setChannelStr(String channelStr) {
        this.channelStr = channelStr;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    public String getPayChannelStr() {
        return payChannelStr;
    }

    public void setPayChannelStr(String payChannelStr) {
        this.payChannelStr = payChannelStr;
    }


    public LocalDateTime getStartInstallTime() {  return startInstallTime; }

    public void setStartInstallTime(LocalDateTime startInstallTime) { this.startInstallTime = startInstallTime; }

    public LocalDateTime getEndInstallTime() { return endInstallTime; }

    public void setEndInstallTime(LocalDateTime endInstallTime) { this.endInstallTime = endInstallTime; }

//    @Override
//    public String toString() {
//        return "EtcMarketingReportReqVo{" +
//                "channel=" + channel +
//                ", channelStr='" + channelStr + '\'' +
//                ", payChannel=" + payChannel +
//                ", payChannelStr='" + payChannelStr + '\'' +
//                ", beginTime='" + beginTime + '\'' +
//                ", endTime='" + endTime + '\'' +
//                ", userCode='" + userCode + '\'' +
//                '}';
//    }


    @Override
    public String toString() {
        return "EtcMarketingReportReqVo{" +
                "vehicleId='" + id + '\'' +
                ", channel=" + channel +
                ", channelStr='" + channelStr + '\'' +
                ", payChannel='" + payChannel + '\'' +
                ", payChannelStr='" + payChannelStr + '\'' +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", userCode='" + userCode + '\'' +
                ", ids='" + ids + '\'' +
                '}';
    }
}
